package com.example.park_management.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;


@TableName(value ="notices")
@Data
public class Notices implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer noticeId;

    private String title;

    private String content;

    private String author;

    @JSONField(format = "yyyy-MM-dd")
    private Date datePublished;

    private Integer employeesId;

    private static final long serialVersionUID = 1L;
}